// 封装三个方法 存 取 删
export function lsSet(key, value) {
  const str = JSON.stringify(value)
  return localStorage.setItem(key, str)
}
export function lsGet(key) {
  return JSON.parse(localStorage.getItem(key))
}
export function lsRemove(key) {
  return localStorage.removeItem(key)
}
